body   {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      display: flex;
    }

    #sidebar {
      width: 200px;
      background-color: #f4f4f4;
      padding: 20px;
    }

    #sidebar ul {
      list-style-type: none;
      padding: 0;
      margin: 0;
    }

    #sidebar ul li {
      padding: 10px;
      cursor: pointer;
    }

    #sidebar ul li:hover {
      background-color: #ddd;
    }

    #content {
      flex: 1;
      padding: 20px;
    }

    #search-container {
      padding: 20px;
      background-color: #f4f4f4;
      text-align: center;
    }

    #search-box {
      padding: 10px;
      width: 200px;
      font-size: 10px;
    }

    #search-start {
      padding: 10px;
      width: 200px;
      font-size: 10px;
    }

    #search-dest {
      padding: 10px;
      width: 200px;
      font-size: 10px;
    }

    #showNodesButton {
      padding: 10px;
      font-size: 10px;
      background-color: #007BFF;
      color: white;
      border: none;
      cursor: pointer;
    }

    #showNodesButton:hover {
      background-color: #0056b3;
    }

    #graph-container {
      width: 100%;
      height: 300px;
      border: 1px solid #ccc;
    }

    #script-show {
      width: 100%;
      height: 300px;
      border: 1px solid #ccc;
    }

    .svg-container {
      display: flex;
      /* 可根据需要添加间距 */
      gap: 10px;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
      background-color: #fefefe;
      margin: 15% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 50%;
      height: 300px;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

    .input-group {
      margin-bottom: 10px;
    }

    .page {
      display: none;
    }

    .page.active {
      display: block;
    }

    /* 以下是左边选项列表的美化样式 */
    .left-options {
      list-style-type: none;
      margin: 0;
      padding: 0;
      width: 200px;
      background-color: #f1f1f1;
      height: 100%;
      overflow: auto;
    }

    #content {
      flex: 1;
      overflow: auto;
      padding: 20px;
    }

    .left-options li a {
      display: block;
      padding: 8px 16px;
      text-decoration: none;
    }

    .left-options li a.active {
      background-color: #007BFF;
      color: white;
    }

    .left-options li a:hover:not(.active) {
      background-color: #555;
      color: white;
    }

     #markdown-content {
                border: 1px solid #ddd;
                padding: 20px;
                background-color: #f9f9f9;
                border-radius: 5px;
            }


.fusion
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
    font-family: Arial, sans-serif;
}


  .input-group {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .input-group label {
            margin-right: 10px;
            font-weight: bold;
            width: 80px; /* 固定标签宽度，使对齐更美观 */
        }
        .input-group input {
            padding: 8px;
            width: 550px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .search-path-container {
            display: flex;
            align-items: center;
        }
        .search-path-container .input-group {
            margin-right: 10px;
        }
        .display-box {
            padding: 8px;
            width: 700px;
            border: 1px solid #ccc;
            border-radius: 4px;
            text-align: center;
        }
        .confirm-button {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin-top: 20px;
        }
        .confirm-button:hover {
            background-color: #45a049;
        }


 .container {
            display: flex;
            width: 100%;
        }

        /* 左边块的样式 */
        .left-block {
            flex: 1;
            padding: 10px;
            border-right: 2px solid #ccc;
        }

        /* 右边块的样式 */
        .right-block {
            flex: 1;
            padding: 10px;
        }

        /* 输入框的样式 */
        input, textarea {
            width: 100%;
            margin-bottom: 10px;
            padding: 8px;
            box-sizing: border-box;
        }

        /* 多行输入框的样式 */
        textarea {
            height: 150px; /* 设置多行输入框的高度 */
            resize: vertical; /* 允许垂直调整大小 */
        }

        /* 按钮的样式 */
        .execute-button {
            display: block;
            width: 30%;
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .execute-button:hover {
            background-color: #45a049;
        }


        /* 树形结构样式 */
.tree-view {
  font-family: Arial, sans-serif;
  user-select: none;
}

.tree-node {
  position: relative;
  display: block; /* 关键 */
  padding: 5px 0;
  margin-left: 20px;
}

.tree-toggle {
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tree-toggle::before {
  content: '+';
  font-size: 14px;
  color: #666;
}

.tree-node.expanded > .tree-toggle::before {
  content: '-';
}

.tree-children {
  display: none;
  margin-left: 15px;
  padding-left: 10px;
  border-left: 1px dashed #ddd;
}

.tree-node.expanded > .tree-children {
  display: block;
}

.tree-content {
  padding: 2px 5px;
  border-radius: 3px;
  /* transition: background 0.2s; */
}

.tree-content:hover {
  background: rgba(0, 0, 0, 0.05);
}
